package com.lx.pc.service.sms.impl;

import java.math.BigInteger;
import java.util.List;

import org.springframework.stereotype.Service;

import com.lx.pc.domain.entity.sms.SmsEntity;
import com.lx.pc.domain.vo.sms.SmsVo;
import com.lx.pc.mybatis.repository.sms.SmsRepository;
import com.lx.pc.service.AbstractService;
import com.lx.pc.service.sms.ISmsService;

@Service("smsService")
public class SmsServiceImpl extends AbstractService<SmsEntity, SmsVo, BigInteger, SmsRepository> implements ISmsService{

	@Override
	public List<SmsVo> findSmsList(SmsVo v) {
		return etoV(repository.findSmsList(v));
	}

	@Override
	public List<SmsVo> findPhone(SmsVo v) {

		return etoV(repository.findPhone(v));
	}

	@Override
	public int findBySmsCount(SmsVo v) {

		return repository.findBySmsCount(v);
	}
}
